<div class="layui-form-item">
    <label class="layui-form-label">验证码</label>
    <div class="layui-input-inline">
        <input type="text" name="captcha" required lay-verify="required" placeholder="请输入验证码" autocomplete="off"
               class="layui-input">
    </div>
    <img alt="" src="" class="captcha" title="点击刷新">
</div>